/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Project2.cs342.project1.mathNotebook.data;

import java.security.*;

/**
 *
 * @author Rick
 */
public class Group {

    private String groupName;
    private String password;
    private String desDefaultKey;
    public byte[] rsaPublicKey;
    public byte[] rsaPrivateKey;



    public Group(){
       
    }


    /**
     * Returns the default DES key.
     *
     * @return Default DES key as a String
     */
     public String getDesDefaultKey() {
        return desDefaultKey;
    }

     /**
     * Sets the encrypted DES key.
     *
     * @param Default DES key as a String
     */
    public void setDesDefaultKey(String desDefaultKey) {
        this.desDefaultKey = desDefaultKey;
    }

    /**
     * Gets the Group's password
     *
     * @return Group's password as a string
     */
    public String getPassword() {
        return password;
    }

    /**
     * Sets the Group's password
     *
     * @param Group's password as a string
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * Gets the Group's Private key used for RSA encryption
     *
     * @return Group's Private RSA key as a byte[] array
     */
    public byte[] getRsaPrivateKey() {
        return rsaPrivateKey;
    }

    /**
     * Sets the Group's Private key used for RSA encryption
     *
     * @param Group's Private RSA key as a byte[] array
     */
    public void setRsaPrivateKey(byte[] rsaPrivateKey) {
        this.rsaPrivateKey = rsaPrivateKey;
    }

    /**
     * Gets the Group's Public key used for RSA encryption
     *
     * @return Group's Public RSA key as a byte[] array
     */
    public byte[] getRsaPublicKey() {
        return rsaPublicKey;
    }

    /**
     * Sets the Group's Public key used for RSA encryption
     *
     * @param Group's Public RSA key as a byte[] array
     */
    public void setRsaPublicKey(byte[] rsaPublicKey) {
        this.rsaPublicKey = rsaPublicKey;
    }

    /**
     * Gets the Group's group name.
     *
     * @return Group's group name as a String
     */
    public String getGroupName() {
        return groupName;
    }

    /**
     * Sets the Group's group name.
     *
     * @param Group's group name as a String
     */
    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

}
